#include "m.h"



int main(int argc, char const *argv[])
{
    int choice;
    p_list head = init_head();

while(1)
{
    czjm1();
    printf("+++++++++++++\n");
    printf("请输入您的选择\n");
    scanf("%d",&choice);

    switch(choice)
    {   
    case 1:
        add_node_tail(head);
        
        break;  

    case 2:
        caxun(head);
        break;

    case 3:
        change(head);
        break;

    case 4:
        del(head);
        break;

    case 5:
        show_list_behind(head);
        break;
    case 6:
        printf("地狱火\n");
        destroy_node(head);
        return 0;
    
    default:
        printf("输入有误，请重新输入\n");
        break;

    }

}
    return 0;
}